package com.sixth.mapper;

import com.sixth.bean.MarketPermissionDetail;
import com.sixth.bean.MarketPermissionDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketPermissionDetailMapper {
    long countByExample(MarketPermissionDetailExample example);

    int deleteByExample(MarketPermissionDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermissionDetail record);

    int insertSelective(MarketPermissionDetail record);

    List<MarketPermissionDetail> selectByExample(MarketPermissionDetailExample example);

    MarketPermissionDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketPermissionDetail record, @Param("example") MarketPermissionDetailExample example);

    int updateByExample(@Param("record") MarketPermissionDetail record, @Param("example") MarketPermissionDetailExample example);

    int updateByPrimaryKeySelective(MarketPermissionDetail record);

    int updateByPrimaryKey(MarketPermissionDetail record);

    List<String> selectAllPermission();

}
